package com.nut.article.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.nut.article.common.Result;
import com.nut.article.entity.SysDict;

import java.util.List;
import java.util.Set;

public interface SysDictService extends IService<SysDict> {

    Result<IPage<SysDict>> list(String name, Integer pageNo, Integer pageSize);

    List<SysDict> getByPid(Integer pid);

    Result deleteByIds(Set<Integer> ids);
}
